<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<%@ include file="/WEB-INF/jsp/sys/uploader.jsp" %>
<%@page import="com.centit.util.RequestUtil" %>

<html lang="zh-cmn-Hans">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/plugin/css/index.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/ztree/js/jquery.ztree.all.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/plugin/js/selectTree.js"></script>
<script type="text/javascript"	src="${pageContext.request.contextPath}/modules/airplanebaseinfo/airplanebaseinfo/ctrl/airplanebaseinfo.edit.js"></script>
<style>
    .stream-main-upload-box {
        border: none;
    }

    .centit-uploader .uploaded-files li {
        padding: 10px 20px 10px 10px;
    }

</style>
</head>
<body>
	<form class="layui-form" action="" style="padding: 10px"
		lay-filter="cwForm" id="cwForm">
		<input type="hidden" name="recId" id="recId" value="${object.recId}">

		<table class="viewTable" >
			<tr>
				<th class="required">占有权登记</th>
				<td>
					<input type="text" name="zyqdj" id="zyqdj" lay-verify="required" class="layui-input"   value="${object.zyqdj}">
				</td>
				<th class="required">IDERA登记</th>
				<td>
				<input type="text" name="idera" id="idera" lay-verify="required" class="layui-input"   value="${object.idera}">
				</td>
			</tr>
			<tr>
				<th >飞机原值</th>
				<td>
					<input type="text" name="fjyz" id="fjyz" class="layui-input"   value="${object.fjyz}">
				</td>
				<th >飞机残值</th>
				<td>
				<input type="text" name="fjcz" id="fjcz" class="layui-input"   value="${object.fjcz}">
				</td>
			</tr>
			<tr>
				<th >保险信息</th>
				<td>
					<input type="text" name="bxxx" id="bxxx" class="layui-input"   value="${object.bxxx}">
				</td>
				<th class="required">租金币种</th>
				<td>
				<select name="zjbz" class="layui-input" lay-filter="zjbz" id="zjbz" lay-verify="required"   value="${object.zjbz}" >
								<option value="">--请选择--</option>
								<c:forEach items="${cp:DICTIONARY('BZ')}" var="row">
				         			<option value="${row.dataCode }" <c:if test="${object.zjbz eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
				   				</c:forEach>
					</select>
				</td>
			</tr>
			<tr>
				<th class="required">租赁起始日期</th>
				<td>
					<input type="text" name="startTime" id="startTime" lay-verify="required" class="layui-input"  value="<fmt:formatDate value='${object.startTime}' pattern='yyyy-MM-dd'/>">
				</td>
				<th class="required">租赁到期日期</th>
				<td>
				<input type="text" name="endTime" id="endTime" lay-verify="required" class="layui-input"  value="<fmt:formatDate value='${object.endTime}' pattern='yyyy-MM-dd'/>">
				</td>
			</tr>
			<tr>
				<th >每期租金</th>
				<td>
					<input type="text" name="mqzj" id="mqzj" class="layui-input"   value="${object.mqzj}">
				</td>
				<th >租金支付期间</th>
				<td>
				<select name="zjzfqj" class="layui-input" lay-filter="zjzfqj" id="zjzfqj"   value="${object.zjzfqj}" >
								<option value="">--请选择--</option>
								<c:forEach items="${cp:DICTIONARY('ZFQJ')}" var="row">
				         			<option value="${row.dataCode }" <c:if test="${object.zjzfqj eq row.dataCode }">selected="selected"</c:if> >${row.dataValue }</option>
				   				</c:forEach>
					</select>
				<%-- <input type="text" name="zjzfqj" id="zjzfqj" class="layui-input"   value="${object.zjzfqj}"> --%>
				</td>
			</tr>
			<tr>
	             <th class="required">合同金额</th>
				<td>
				<input type="text" name="htMoney" id="htMoney" lay-verify="required" class="layui-input"   value="${object.htMoney}">
				</td>
				<th>合同授权信息</th>
	                    <td >
	                    <input type="text" name="ht2htsqxx" id="ht2htsqxx" class="layui-input"  value="${object.ht2htsqxx}">
	                    </td>
			</tr>
			<tr>
				<th>飞机合同</th>
	                    <td colspan="3">
	                        <div class="layui-input-inline tdcontent" >
	                        <input type="hidden"  id="ht" name="ht"  value="${object.ht}" />
	                        </div>
	                    </td>
			</tr>
			<tr>
			<th>办理意见</th>
				<td style="height:100px;" colspan="3">
					<div class="layui-input-block" style="margin-left: 0;">
						<textarea name="transContents" id="transContents" placeholder="请输入内容" class="layui-textarea">${transContent }</textarea>
					</div>
				</td>
			</tr>
		</table>
		<div style="text-align: center; margin-top: 20px">
			<button class="layui-btn" lay-submit="" type="button" lay-filter="saveOaInfo">保存</button>
			<button class="layui-btn layui-btn-primary" type="button" onclick="CloseWin()">关闭</button>
		</div>
	</form>
	<script>
var basePath= "${pageContext.request.contextPath}";
</script>

 <script type="text/javascript">
  window.UploaderPath='${cp:SYS_VALUE("uploaderpath")}/';
	index = setInterval(setUpload, '1000');
	function setUpload() {
	      try {
	    	  if (typeof $('#ht', null).uploader === "function") { 
	              clearInterval(index);
	              $('#ht', null).uploader({
	                  UploaderPath: window.UploaderPath,           
	                  ViewContextPath: window.UploaderPath,
	                  info: {
	                      optId: 'applyAdd'    
	                  }
	              });
	          } else {
	        	  
	          }
	      } catch (e) {
	      }
	  } 
 </script>
</body>
</html>
